package com.yimi.yinhepda.adapter.RecycleAdapter

import android.content.Context
import com.yimi.yinhepda.R
import com.pda.ym.base.CommonRecycleAdapter
import com.pda.ym.base.CommonViewHolder
import com.yimi.yinhepda.entity.response.LoadInfo

/**
 * @author: lj
 * Date: 2020/3/9 14:28
 * Description:自提失败适配器
 */
class FenBoZiTiFailAdapter(var context: Context?, dataList: MutableList<LoadInfo>?)
    : CommonRecycleAdapter<LoadInfo>(context, dataList, R.layout.item_fenbo_ziti_fail) {

    override fun bindData(holder: CommonViewHolder?, data: LoadInfo?, position: Int) {
        holder?.setText(R.id.tv_waybillNo, data?.waybillNo)
        holder?.setText(R.id.tv_fail, data?.remark)
    }
}